package com.why.day05_work3.net;


import com.why.day05_work3.bean.Bean;

import io.reactivex.Flowable;
import io.reactivex.Observable;
import retrofit2.http.GET;

public interface ApiService {

    String sUrl = "https://gank.io/api/";


    @GET("data/%E7%A6%8F%E5%88%A9/10/2")
    Observable<Bean> getData();


    @GET("data/%E7%A6%8F%E5%88%A9/10/2")
    Flowable<Bean> getData2();
}
